/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class YNsettlementEnum extends StringEnum
{
    public static final String ISNULL_VALUE = "0";
    public static final String Y_VALUE = "1";
    public static final String N_VALUE = "2";

    public static final YNsettlementEnum isNull = new YNsettlementEnum("isNull", ISNULL_VALUE);
    public static final YNsettlementEnum Y = new YNsettlementEnum("Y", Y_VALUE);
    public static final YNsettlementEnum N = new YNsettlementEnum("N", N_VALUE);

    /**
     * construct function
     * @param String yNsettlementEnum
     */
    private YNsettlementEnum(String name, String yNsettlementEnum)
    {
        super(name, yNsettlementEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static YNsettlementEnum getEnum(String yNsettlementEnum)
    {
        return (YNsettlementEnum)getEnum(YNsettlementEnum.class, yNsettlementEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(YNsettlementEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(YNsettlementEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(YNsettlementEnum.class);
    }
}